package com.zwt.constant;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * Created by zwt on 2018/9/6.
 */
@Component
@ConfigurationProperties(prefix = "url", ignoreUnknownFields = false)
@Configuration
@PropertySource("classpath:config/url.properties")
public class UrlConstant {

    private String host;

    private String baseServer;

    private String queryById;

    private String regSms;

    private String loginSms;

    private String reg;

    private String login;

    private String userInfo;

    private String fail;

    public String getFail() {
        return fail;
    }

    public void setFail(String fail) {
        this.fail = fail;
    }

    public String getReg() {
        return reg;
    }

    public void setReg(String reg) {
        this.reg = reg;
    }

    public String getLogin() {
        return login;
    }

    public void setLogin(String login) {
        this.login = login;
    }

    public String getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(String userInfo) {
        this.userInfo = userInfo;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getBaseServer() {
        return baseServer;
    }

    public void setBaseServer(String baseServer) {
        this.baseServer = baseServer;
    }

    public String getQueryById() {
        return queryById;
    }

    public void setQueryById(String queryById) {
        this.queryById = queryById;
    }

    public String getRegSms() {
        return regSms;
    }

    public void setRegSms(String regSms) {
        this.regSms = regSms;
    }

    public String getLoginSms() {
        return loginSms;
    }

    public void setLoginSms(String loginSms) {
        this.loginSms = loginSms;
    }
}
